package com.wish.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wish.entity.PremisesInfo;
import com.wish.mapper.PremisesInfoMapper;
import com.wish.service.IPremisesInfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 楼盘信息表 服务实现类
 * </p>
 *
 * @author 闫东浩
 * @since 2021-03-29
 */
@Service
public class PremisesInfoServiceImpl extends ServiceImpl<PremisesInfoMapper, PremisesInfo> implements IPremisesInfoService {
    @Resource
    private PremisesInfoMapper premisesInfoMapper;

    @Override
    public Page<PremisesInfo> getList(QueryWrapper<PremisesInfo> wrapper, Page<PremisesInfo> page) {
        return premisesInfoMapper.getList(wrapper,page);
    }
}
